package com.bl.weilan.service.biz.companyopponent;

import com.bl.weilan.dao.model.CompanyOpponentEntity;
import com.bl.weilan.service.vo.DelBody;
import com.bl.weilan.service.vo.DelListBody;
import com.bl.weilan.service.vo.companyopponent.CompanyOpponentAddVo;
import com.bl.weilan.service.vo.companyopponent.CompanyOpponentListVo;
import com.bl.weilan.service.vo.companyopponent.CompanyOpponentModVo;
import com.bl.weilan.service.vo.traded.TradeDDelBody;
import org.springframework.data.domain.Pageable;

public interface CompanyOpponentService {
    //通过id竞争对手详情
    CompanyOpponentEntity getCompanyOpponentById(String companyopponentId);
    //查询竞争对手列表
    CompanyOpponentListVo getCompanyOpponentLists(String companyId, String tradeDId,Pageable pageable);
    //发布竞争对手信息
    void addCompanyOpponent(CompanyOpponentAddVo companyopponentAddVo);
    // manager 删除单条竞争对手信息
    void del(TradeDDelBody id);
    //manager 批量删除竞争对手
    void delList(DelListBody idList);
    //修改竞争对手信息
    void modify(CompanyOpponentModVo companyopponentModVo);
}
